flask/policy: fix static device labeling examples
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 11 Mar 2015 14:59:44 +0000 (10:59 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Mar 2015 12:06:04 +0000 (12:06 +0000)
commit9d87e9beb3e134eb4c683a4d8b350db25e1f41dc
tree26a419b0399f6b658e0f7952b3b0d6073d5fff26
parentb642ed677501767649ba24948796ea4045fd256d
flask/policy: fix static device labeling examples

The definitions of static device labels must be placed at the end of the
policy.conf before passing it to checkpolicy; the existing examples
(which are commented out) are in the wrong location.  Create a new file
for device contexts which will place them in the proper location.

This also removes some directions about using the xen policy type in
checkpolicy which is no longer needed.

Reported-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/misc/xsm-flask.txt
tools/flask/policy/Makefile
tools/flask/policy/policy/device_contexts [new file with mode: 0644]
tools/flask/policy/policy/modules/xen/xen.te